package ww;

import java.util.*;

public class animal {
	public static void main(String[] args) {
		dongwu[] a = { new tiger("老虎", 5, 1, 2), new sheep("羊", 4, 1, 1), new wolf("狼", 4, 1, 1) };
		for (dongwu s : a) {
			s.move();
			s.eat(a);
		}
	}
}

